package com.hd.trans.framework.dialog;


import com.hd.trans.framework.languages.ShareItemBean;

import java.util.ArrayList;

public class ShareDialogModule {
    private ArrayList<ShareItemBean> list;
    private boolean buttonColor;
    private int color;
    private ShareDialog.OnShareItemClickListenner listenner;

    public ShareDialog.OnShareItemClickListenner getListenner() {
        return listenner;
    }

    public void setListenner(ShareDialog.OnShareItemClickListenner listenner) {
        this.listenner = listenner;
    }

    public boolean isButtonColor() {
        return buttonColor;
    }

    public void setButtonColor(boolean buttonColor) {
        this.buttonColor = buttonColor;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public ShareDialogModule() {
        list = new ArrayList<>();
    }

    public ArrayList<ShareItemBean> getList() {
        return list;
    }

    public void setList(ArrayList<ShareItemBean> list) {
        this.list = list;
    }

    public void addItem(ShareItemBean item) {
        this.list.add(item);
    }
}
